package cn.vcjf.washcar.api.order.service;

import cn.vcjf.washcar.api.order.entity.WashCarOrder;
import cn.vcjf.washcar.common.web.TableResult;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.text.ParseException;

/**
 * <p>
 * 洗车订单表 服务类
 * </p>
 *
 * @author zhengzihang
 * @since 2018-07-20
 */
public interface WashCarOrderService extends IService<WashCarOrder> {

	TableResult addWashCarOrder(HttpServletRequest request, WashCarOrder washCarOrder) throws ParseException;

	void updateCheckOrder();

	void updateWashOrderStatus(WashCarOrder order, Integer orderStatus, String res, String pOrderNo);

	WashCarOrder selectWashCarOrderOne(EntityWrapper<WashCarOrder> wrapper);
}
